package com.geovis.emergency.spd.entity.pc.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 应急预案指挥模块-演练排班值班Execel导入DTO
 * </p>
 *
 * @author 王响
 * @since 2022-04-06
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@AllArgsConstructor
@ApiModel(value = "PcDutyImtDTO", description = "应急预案指挥模块-演练排班值班Execel导入DTO")
public class PcDutyImtDTO implements Serializable {

    @NotNull(message = "文件不能为空")
    @ApiModelProperty(value = "文件",required = true)
    private String fileId;

    @NotBlank(message = "演练id不能为空")
    @ApiModelProperty(value = "演练id",required = true)
    @Length(max = 64, message = "演练id最长不能超过{64}个字符")
    private String pcDrillId;

}
